Conversation
Fixes #225
|
work perfect, thank you! |
|
@alizahid thanks for pr. Question: why is this better than simply setting |
|
hi @rt2zz <Text style={{textAlign: 'right'}}> مرحبا </Text>the expected output from the above example is مرحبا in right side of the screen, but.. actually ... no the output of the above example is the world being aligned to the left side of the screen!!!!!!
because the default side="left" drawer look good on RTL layout!!. and rendered on the right side of the screen as expected on RTL layout, the problem is tapToClose and panCloseMask not works as expected you need to tap the right side of the drawer to close it |
|
Thank you man. This should be merged otherwise the Drawer is not functional for RTL layouts. |
|
Thanks! Are there any plans on merging this yet? |
|
Works great! Thank you. |
|
Thank you, @rt2zz please merge it |
|
I had the same problem as @ahmedNY said with tapToClose and panCloseMask when I try to use forceRTL(true) .. it keeps the clickable overlay on the right over of the drawer, which keeps you from clicking the drawer items. How I fixed it is by replacing those to lines in the By:
Also I copied |
Fixes #225
Flips the side from
lefttoright(and in reverse) ifI18nManager.isRTListrue